<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!doctype html>
<html lang="zh">
<head>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> 
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>麒麟人民医院——优可利附属医院挂号登录</title>
	<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/qiantai/html/zuche/css/styles.css">
	<!--[if IE]>
		<script src="http://libs.baidu.com/html5shiv/3.7/html5shiv.min.js"></script>
	<![endif]-->
</head>
<body>
<input type="hidden" id="path" name="path" value="${pageContext.request.contextPath }"/>
	<div class="container" style="padding-top:100px">
		<div class="login-wrap">
			<div class="login-html">
				<input id="tab-1" type="radio" name="tab" class="sign-in" checked><label for="tab-1" class="tab">登录</label>
				<input id="tab-2" type="radio" name="tab" class="sign-up"><label for="tab-2" class="tab">注册</label>

                <div class="login-form">
					<div class="sign-in-htm">
						<form class="loginForm" action="${pageContext.request.contextPath }/patient/doLogin"  name="actionForm" id="actionForm"  method="post" >
							<%--controller处理的结果是false，显示错误信息--%>
							<c:if test="${retCode eq 'F'}">
							<div class="info">${retMsg}</div>
							</c:if>
						<div class="group">
							<label for="user" class="label">用户名</label>
							<input id="user" name="userCode" type="text" class="input"><span id='names' style='color: red'></span>
						</div>
						<div class="group">
							<label for="pass" class="label">密码</label>
							<input id="pass" name="userPassword" type="password" class="input" data-type="password">
						</div>
						<div class="group">
							<input id="check" type="checkbox" class="check" checked>
							<label for="check"><span class="icon"></span> 记住我</label>
						</div>
						<div class="group">
							<input id="login" type="submit" class="button" value="登录">
						</div>
						</form>
						<div class="hr"></div>
						<div class="foot-lnk">
							<a href="#forgot">Forgot Password?</a>
						</div>
					</div>
					<div class="sign-up-htm">
						<div class="providerAdd">
							<form class="userForm" action="${pageContext.request.contextPath }/patient/zuche"
								  name="user" id="userForm"  method="post" >
								<!--div的class 为error是验证错误，ok是验证成功-->
								<div class="group">
									<label for="userCode">登录用名：</label>
									<input class="input2" type="text" name="userLogin" id="userCode" value="">
									<!-- 放置提示信息 -->
									<font color="red"></font>
								</div>
								<div class="group">
									<label for="userPassword">密&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;码：</label>
									<input class="input2" type="password" name="userPassword" id="userPassword" value="">
									<font color="red"></font>
								</div>
								<div class="group">
									<label for="ruserPassword">确认密码：</label>
									<input class="input2" type="password" name="" id="ruserPassword" value="">
									<font color="red"></font>
								</div>
								<div class="group">
									<label for="userName">姓&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;名：</label>
									<input class="input2" type="text" name="userName" id="userName"  value="">
									<font color="red"></font>
								</div>
								<div class="group">
									<label for="phone">手&nbsp;机&nbsp;号：</label>
									<input class="input2" type="text" name="phone" id="phone" value="">
									<font color="red"></font>
								</div>
								<div class="group">
									<label for="idCard">身&nbsp;份&nbsp;证：</label>
									<input class="input2" type="text" name="idCard" id="idCard" value="">
									<font color="red"></font>
								</div>
								<div class="group">
									<label for="address">验&nbsp;证&nbsp;码：</label>
									<input class="input2" name="address" id="address"  value="" >
								</div>

								<div class="group">
									<input type="hidden" id="errorinfo" value=""/>
									<label for="a_idPicPath">证&nbsp;件&nbsp;照：</label>
									<input type="file" name="userTx" id="a_idPicPath" class="input2"/>
									<font color="red"></font>
								</div>

								<div class="providerAddBtn group">
									<input class="button2" type="button" name="add" id="add" value="保存" >
									<input class="button2" type="button" id="back" name="back" value="返回" >
								</div>
							</form>
						</div>
					</div>
					<!--<div class="sign-up-htm">-->
						<!--<div class="group zuce">-->
							<!--<label for="user" class="label">登录用户名</label>-->
							<!--<input id="userLogin"  type="text" class="input">-->
						<!--</div>-->
						<!--<div class="group zuce">-->
							<!--<label for="pass" class="label">密码</label>-->
							<!--<input id="userPassword"  type="password" class="input" data-type="password">-->
						<!--</div>-->
						<!--<div class="group zuce">-->
							<!--<label for="pass" class="label">确认密码</label>-->
							<!--<input id="gropass"  type="password" class="input" data-type="password">-->
						<!--</div>-->
						<!--<div class="group zuce">-->
							<!--<label for="pass" class="label">姓名</label>-->
							<!--<input id="userName" type="text" class="input">-->
						<!--</div>-->
						<!--<div class="group zuce">-->
							<!--<label for="pass" class="label">手机</label>-->
							<!--<input id="phone" type="text" class="input">-->
						<!--</div>-->
						<!--<div class="group zuce">-->
							<!--<label for="pass" class="label">身份证</label>-->
							<!--<input id="idCard" type="text" class="input">-->
						<!--</div>-->
						<!--<div class="group zuce">-->
							<!--<label for="pass" class="label">验证码</label>-->
							<!--<input  type="text" class="input">-->
						<!--</div>-->
						<!--<div class="group zuce">-->
							<!--<input type="submit" class="button" id="register" value="注册">-->
							<!--<span id="zc" style="color: red"></span>-->
						<!--</div>-->
					<!--</div>-->
                </div>
			</div>
		</div>
	</div>
	<script src="${pageContext.request.contextPath}/qiantai/html/zuche/js/jquery-1.8.2.js"></script>
	<script src="${pageContext.request.contextPath}/qiantai/html/zuche/js/useradd.js" type="text/javascript"></script>

</body>
</html>